.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)times.3c	6.1 (Berkeley) 5/9/85
.\"
.TH TIMES 3C "May 9, 1985"
.UC 4
.SH NAME
times \- get process times
.SH SYNOPSIS
.nf
.B "#include <sys/types.h>
.B "#include <sys/times.h>
.PP
.B times(buffer)
.B struct tms *buffer;
.fi
.SH DESCRIPTION
.ft B
This interface is obsoleted by getrusage(2).
.ft R
.PP
.I Times
returns time-accounting information
for the current process
and for the terminated child processes
of the current process.
All times are in 1/HZ seconds, where HZ is 60.
.PP
This is the structure returned by
.IR times :
.PP
.nf
.so /usr/include/sys/times.h
.PP
.fi
The children times are the sum
of the children's process times and
their children's times.
.SH "SEE ALSO"
time(1), getrusage(2), wait3(2), time(3)
